package com.dlc.shop.user.common.bo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

/**
 * 跳转链接
 * @author TRACK
 */
public class JumpUrlBO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "类型 1.商品 2.分类 3.店铺 4.页面 5.微页面 6.自定义链接 7.优惠券")
    private String type;

    @Schema(description = "商品名称/优惠券名称等")
    private String name;

    @Schema(description = "商品id/优惠券id等")
    private String link;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @Override
    public String toString() {
        return "JumpUrlBO{" +
                "type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", link='" + link + '\'' +
                '}';
    }
}
